testheightforwidth: Remove "vertical labels" test
authorTimm Bäder <mail@baedert.org>
Tue, 9 Jan 2018 07:23:36 +0000 (08:23 +0100)
committerTimm Bäder <mail@baedert.org>
Wed, 10 Jan 2018 07:46:22 +0000 (08:46 +0100)
This was testing lables with the angle property set, which doesn't exist
anymore.

tests/testheightforwidth.c

index d96f6e5d48e7d582ec3f28113516a2ac5ff24eec..f8e29d47b38b1f08f1021edbdbb8518f57fd09d7 100644 (file)
@@ -297,130 +297,6 @@ static TestInterface interfaces[] = {
     NULL
   },
 
-  {
-    "Vertical Labels",
-    "Demonstrates how a horizontal box will consider width-for-height when allocating children "
-    "even if the toplevel window is requested as height-for-width.",
-    "<interface>"
-    "  <requires lib=\"gtk+\" version=\"3.22\"/>"
-    "  <!-- interface-naming-policy project-wide -->"
-    "  <object class=\"GtkWindow\" id=\"window\">"
-    "    <property name=\"default_width\">400</property>"
-    "    <property name=\"default_height\">300</property>"
-    "    <child>"
-    "      <object class=\"GtkPaned\" id=\"vpaned1\">"
-    "        <property name=\"orientation\">vertical</property>"
-    "        <property name=\"visible\">True</property>"
-    "        <property name=\"can_focus\">True</property>"
-    "        <child>"
-    "          <object class=\"GtkBox\" id=\"hbox1\">"
-    "            <property name=\"orientation\">horizontal</property>"
-    "            <property name=\"visible\">True</property>"
-    "            <child>"
-    "              <object class=\"GtkLabel\" id=\"label1\">"
-    "                <property name=\"visible\">True</property>"
-    "                <property name=\"label\" translatable=\"yes\">Some long width-for-height text that wraps</property>"
-    "                <property name=\"justify\">center</property>"
-    "                <property name=\"wrap\">True</property>"
-    "                <property name=\"width_chars\">10</property>"
-    "                <property name=\"angle\">90</property>"
-    "                <attributes>"
-    "                  <attribute name=\"weight\" value=\"bold\"/>"
-    "                  <attribute name=\"foreground\" value=\"#03e307ddfb5f\"/>"
-    "                </attributes>"
-    "              </object>"
-    "              <packing>"
-    "                <property name=\"position\">0</property>"
-    "              </packing>"
-    "            </child>"
-    "            <child>"
-    "              <object class=\"GtkFrame\" id=\"frame1\">"
-    "                <property name=\"visible\">True</property>"
-    "                <property name=\"label_xalign\">0</property>"
-    "                <property name=\"shadow_type\">out</property>"
-    "                <child>"
-    "                  <object class=\"GtkLabel\" id=\"label5\">"
-    "                    <property name=\"visible\">True</property>"
-    "                    <property name=\"label\" translatable=\"yes\">Neither of the panes are\n"
-    "set to shrink.</property>"
-    "                    <property name=\"justify\">center</property>"
-    "                    <attributes>"
-    "                      <attribute name=\"foreground\" value=\"#ffff00000000\"/>"
-    "                    </attributes>"
-    "                  </object>"
-    "                </child>"
-    "                <child type=\"label_item\">"
-    "                  <placeholder/>"
-    "                </child>"
-    "              </object>"
-    "              <packing>"
-    "                <property name=\"position\">1</property>"
-    "              </packing>"
-    "            </child>"
-    "          </object>"
-    "          <packing>"
-    "            <property name=\"resize\">False</property>"
-    "            <property name=\"shrink\">False</property>"
-    "          </packing>"
-    "        </child>"
-    "        <child>"
-    "          <object class=\"GtkBox\" id=\"hbox2\">"
-    "            <property name=\"orientation\">horizontal</property>"
-    "            <property name=\"visible\">True</property>"
-    "            <child>"
-    "              <object class=\"GtkFrame\" id=\"frame2\">"
-    "                <property name=\"visible\">True</property>"
-    "                <property name=\"label_xalign\">0</property>"
-    "                <property name=\"shadow_type\">out</property>"
-    "                <child>"
-    "                  <object class=\"GtkLabel\" id=\"label4\">"
-    "                    <property name=\"visible\">True</property>"
-    "                    <property name=\"label\" translatable=\"yes\">The interface is allocated as height\n"
-    "for width, but the horizontal boxes\n"
-    "allocate in width for height mode.</property>"
-    "                    <attributes>"
-    "                      <attribute name=\"foreground\" value=\"#000097970808\"/>"
-    "                    </attributes>"
-    "                  </object>"
-    "                </child>"
-    "                <child type=\"label_item\">"
-    "                  <placeholder/>"
-    "                </child>"
-    "              </object>"
-    "              <packing>"
-    "                <property name=\"position\">0</property>"
-    "              </packing>"
-    "            </child>"
-    "            <child>"
-    "              <object class=\"GtkLabel\" id=\"label3\">"
-    "                <property name=\"visible\">True</property>"
-    "                <property name=\"label\" translatable=\"yes\">Some long width-for-height text that wraps</property>"
-    "                <property name=\"justify\">center</property>"
-    "                <property name=\"wrap\">True</property>"
-    "                <property name=\"width_chars\">10</property>"
-    "                <property name=\"angle\">270</property>"
-    "                <attributes>"
-    "                  <attribute name=\"weight\" value=\"bold\"/>"
-    "                  <attribute name=\"foreground\" value=\"#03e307ddfb5f\"/>"
-    "                </attributes>"
-    "              </object>"
-    "              <packing>"
-    "                <property name=\"position\">1</property>"
-    "              </packing>"
-    "            </child>"
-    "          </object>"
-    "          <packing>"
-    "            <property name=\"resize\">False</property>"
-    "            <property name=\"shrink\">False</property>"
-    "          </packing>"
-    "        </child>"
-    "      </object>"
-    "    </child>"
-    "  </object>"
-    "</interface>",
-    NULL
-  },
-
   {
     "Label Parameters",
     "This test demonstrates how \"width-chars\" and \"max-width-chars\" can be used "